From 723d979be277a639554859bb55d1788656052b83 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 24 Feb 2021 21:57:15 -0500 Subject: [PATCH] infobar: Add property annotations Connect properties, getters, and setters with annotations. --- gtk/gtkinfobar.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c index 05ad893e18..e910597ab9 100644 --- a/gtk/gtkinfobar.c +++ b/gtk/gtkinfobar.c @@ -346,7 +346,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass) klass->close = gtk_info_bar_close; /** - * GtkInfoBar:message-type: + * GtkInfoBar:message-type: (attributes org.gtk.Property.get=gtk_info_bar_get_message_type org.gtk.Property.set=gtk_info_bar_set_message_type) * * The type of the message. * @@ -361,7 +361,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass) GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY); /** - * GtkInfoBar:show-close-button: + * GtkInfoBar:show-close-button: (attributes org.gtk.Property.get=gtk_info_bar_get_show_close_button org.gtk.Property.set=gtk_info_bar_set_show_close_button) * * Whether to include a standard close button. */ @@ -373,7 +373,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass) GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY); /** - * GtkInfoBar:revealed: + * GtkInfoBar:revealed: (attributes org.gtk.Property.get=gtk_info_bar_get_revealed org.gtk.Property.set=gtk_info_bar_set_revealed) * * Whether the info bar shows its contents. */ @@ -1070,7 +1070,7 @@ gtk_info_bar_buildable_add_child (GtkBuildable *buildable, } /** - * gtk_info_bar_set_message_type: + * gtk_info_bar_set_message_type: (attributes org.gtk.Method.set_property=message-type) * @info_bar: a `GtkInfoBar` * @message_type: a #GtkMessageType * @@ -1109,7 +1109,7 @@ gtk_info_bar_set_message_type (GtkInfoBar *info_bar, } /** - * gtk_info_bar_get_message_type: + * gtk_info_bar_get_message_type: (attributes org.gtk.Method.get_property=message-type) * @info_bar: a `GtkInfoBar` * * Returns the message type of the message area. @@ -1126,7 +1126,7 @@ gtk_info_bar_get_message_type (GtkInfoBar *info_bar) /** - * gtk_info_bar_set_show_close_button: + * gtk_info_bar_set_show_close_button: (attributes org.gtk.Method.set_property=show-close-button) * @info_bar: a `GtkInfoBar` * @setting: %TRUE to include a close button * @@ -1148,7 +1148,7 @@ gtk_info_bar_set_show_close_button (GtkInfoBar *info_bar, } /** - * gtk_info_bar_get_show_close_button: + * gtk_info_bar_get_show_close_button: (attributes org.gtk.Method.get_property=show-close-button) * @info_bar: a `GtkInfoBar` * * Returns whether the widget will display a standard close button. @@ -1164,7 +1164,7 @@ gtk_info_bar_get_show_close_button (GtkInfoBar *info_bar) } /** - * gtk_info_bar_set_revealed: + * gtk_info_bar_set_revealed: (attributes org.gtk.Method.set_property=revealed) * @info_bar: a `GtkInfoBar` * @revealed: The new value of the property * @@ -1191,7 +1191,7 @@ gtk_info_bar_set_revealed (GtkInfoBar *info_bar, } /** - * gtk_info_bar_get_revealed: + * gtk_info_bar_get_revealed: (attributes org.gtk.Method.get_property=revealed) * @info_bar: a `GtkInfoBar` * * Returns whether the info bar is currently revealed. -- 2.30.2